package com.yuanfeng.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.business.dto.FxGoodsInfoDTO;
import com.yuanfeng.business.dto.OperateFxGoodsDTO;
import com.yuanfeng.business.entity.ShopFxGoodsInfoEntity;
import com.yuanfeng.commoms.dto.goods.FxGoodsListDTO;
import com.yuanfeng.commoms.util.ResponseResult;

/**
 * @ClassName ShopFxGoodsInfoService
 * @Description
 * @Author cyp
 * @Date 2023-06-05 11:43:19
 * @Version 1.0
 **/
public interface ShopFxGoodsInfoService extends IService<ShopFxGoodsInfoEntity> {
    /**
     * 分销商品数量更新
     * @param data
     * @return
     */
     ResponseResult updateFxGoodsSaleNum(String data);

    /**
     * 分销中心-商品-列表-查询
     * @param param
     * @return
     */
    ResponseResult getFxGoodsInfo(FxGoodsInfoDTO param);

    /**
     * 添加分销商品 店铺商品列表
     * @param param
     * @return
     */
    ResponseResult queryShopGoodsList(FxGoodsInfoDTO param);

    /**
     * 添加 编辑或删除分销商品
     * @param param
     * @return
     */
    ResponseResult addRemoveFxGoods(OperateFxGoodsDTO param);

    /**
     * 批量添加或移除或删除分销商品
     * @param param
     * @return
     */
    ResponseResult addRemoveFxGoodsBatch(OperateFxGoodsDTO param);

    /**
     * 小程序--推广商品
     * @param goodsListRequest
     * @return
     */
    ResponseResult fxGoodsList(FxGoodsListDTO goodsListRequest);
 }
